package com.java2207.group1.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 *大型设备表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Aid {

    private  Integer t_id;
    private  String name;
    private  String serial;//编号
    private  Double price;//设备价格
    private  String vender;//厂商
    private  String phone;//厂商电话
    private  String state;//使用状态
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private  Date  time;//购买日期
}
